<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>星链</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <style>
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    }

    :root {
        --primary: #4361ee;
        --secondary: #3a0ca3;
        --accent: #4cc9f0;
        --light: #f8f9fa;
        --dark: #1d3557;
        --gray: #6c757d;
        --light-gray: #e9ecef;
        --border: #dee2e6;
        --success: #4ade80;
        --warning: #f59e0b;
        --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        --transition: all 0.3s ease;
    }

    body {
        background-color: #f5f7fa;
        color: #333;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* 顶部导航栏 - 自定义Logo区域 */
    .header {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 25px;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .logo-container {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .custom-logo {
        height: 40px;
        width: auto;
        object-fit: contain;
    }

    .logo-text {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--dark);
    }

    .nav-links {
        display: flex;
        gap: 30px;
    }

    .nav-item {
        padding: 8px 0;
        position: relative;
        cursor: pointer;
        font-weight: 500;
        color: var(--gray);
    }

    .nav-item.active, .nav-item:hover {
        color: var(--primary);
    }

    .nav-item.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
    }

    .user-area {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .vip-badge {
        background: linear-gradient(135deg, #ffd700, #ff9800);
        color: #fff;
        padding: 5px 12px;
        border-radius: 30px;
        font-size: 0.85rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
    }

    .user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--primary));
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
    }

    /* 主内容区 */
    .main-content {
        display: flex;
        flex: 1;
    }

    /* 左侧菜单 - 留空 */
    .sidebar {
        width: 240px;
        background: white;
        height: calc(100vh - 60px);
        position: sticky;
        top: 60px;
        padding: 25px 0;
        border-right: 1px solid var(--border);
        box-shadow: 3px 0 10px rgba(0, 0, 0, 0.02);
    }

    /* 右侧内容区 */
    .content-area {
        flex: 1;
        padding: 30px;
    }

    .content-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--dark);
        position: relative;
        padding-bottom: 10px;
    }

    .page-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        border-radius: 2px;
    }

    /* 档案内容区 */
    .profile-content {
        background: white;
        border-radius: 12px;
        padding: 25px;
        box-shadow: var(--card-shadow);
    }

    .section-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 20px;
        color: var(--dark);
        display: flex;
        align-items: center;
        gap: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border);
    }

    .info-table {
        width: 100%;
        border-collapse: collapse;
    }

    .info-table th {
        text-align: left;
        padding: 12px 10px;
        font-weight: 500;
        color: var(--gray);
        width: 120px;
        font-size: 14px;
    }

    .info-table td {
        padding: 12px 10px;
        font-size: 14px;
        color: #333;
    }

    .info-value {
        padding: 8px 12px;
        background: #fafafa;
        border-radius: 4px;
        display: inline-block;
        min-width: 200px;
    }

    /* 响应式设计 */
    @media (max-width: 992px) {
        .sidebar {
            width: 200px;
        }
    }

    @media (max-width: 768px) {
        .nav-links {
            display: none;
        }

        .sidebar {
            width: 60px;
            padding: 25px 0;
        }

        .content-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }
    }
  </style>
</head>
<body>
<!-- 顶部导航栏 - 自定义Logo区域 -->
<div class="header">
  <div class="logo-container">
    <!-- 自定义Logo图片 -->
    <img src="logo1.jpg" alt="企业Logo" class="custom-logo">
    <div class="logo-text">星链</div>
  </div>

  <div class="nav-links">
    <div class="nav-item" onclick="window.location.href='companies.html'">我的企业</div>
    <div class="nav-item active">背调查询</div>
    <div class="nav-item" onclick="window.location.href='fs.html'">人才档案管理</div>
    <div class="nav-item" onclick="window.location.href='vip.html'">会员开通</div>
  </div>

  <div class="user-area">

    <div class="user-avatar">管</div>
  </div>
</div>

<!-- 主内容区 -->
<div class="main-content">
  <!-- 左侧菜单 - 留空 -->
  <div class="sidebar">
    <!-- 左侧菜单留空 -->
  </div>

  <!-- 右侧内容区 -->
  <div class="content-area">
    <div class="content-header">
      <h1 class="page-title">背调查询结果</h1>
    </div>

    <!-- 档案内容 -->
    <div class="profile-content">
      <!-- 基本信息 -->
      <div class="section-title">
        <i class="fas fa-id-card"></i>
        基本信息
      </div>
      <table class="info-table">
        <tr>
          <th>姓名</th>
          <td><span class="info-value">张三</span></td>
          <th>工号</th>
          <td><span class="info-value">EMP2025001</span></td>
        </tr>
        <tr>
          <th>出生日期</th>
          <td><span class="info-value">1990-05-15</span></td>
          <th>性别</th>
          <td><span class="info-value">男</span></td>
        </tr>
        <tr>
          <th>婚姻状态</th>
          <td><span class="info-value">已婚</span></td>
          <th>证件号</th>
          <td><span class="info-value">310************015</span></td>
        </tr>
      </table>

      <!-- 任职信息 -->
      <div class="section-title" style="margin-top: 30px;">
        <i class="fas fa-briefcase"></i>
        任职信息
      </div>
      <table class="info-table">
        <tr>
          <th>单位</th>
          <td><span class="info-value">XX科技有限公司</span></td>
          <th>部门</th>
          <td><span class="info-value">技术研发中心</span></td>
        </tr>
        <tr>
          <th>岗位</th>
          <td><span class="info-value">高级软件工程师</span></td>
          <th>岗位类别</th>
          <td><span class="info-value">技术岗</span></td>
        </tr>
        <tr>
          <th>技术专业</th>
          <td colspan="3"><span class="info-value">计算机科学与技术</span></td>
        </tr>
      </table>

      <!-- 职级信息 -->
      <div class="section-title" style="margin-top: 30px;">
        <i class="fas fa-level-up-alt"></i>
        职级信息
      </div>
      <table class="info-table">
        <tr>
          <th>职级评定时间</th>
          <td><span class="info-value">2024-12-15</span></td>
          <th>职级序列</th>
          <td><span class="info-value">P序列</span></td>
        </tr>
        <tr>
          <th>职级段号</th>
          <td colspan="3"><span class="info-value">P7-3</span></td>
        </tr>
      </table>

      <!-- 工作经历 -->
      <div class="section-title" style="margin-top: 30px;">
        <i class="fas fa-history"></i>
        工作经历
      </div>
      <table class="info-table">
        <tr>
          <td colspan="4">
            <div style="padding: 12px; background: #fafafa; border-radius: 4px; line-height: 1.6;">
              <p>1. XX科技有限公司 (2018-至今) - 高级软件工程师</p>
              <p>2. YY软件公司 (2015-2018) - 软件工程师</p>
              <p>3. ZZ网络公司 (2012-2015) - 初级开发工程师</p>
            </div>
          </td>
        </tr>
      </table>

      <!-- 教育背景 -->
      <div class="section-title" style="margin-top: 30px;">
        <i class="fas fa-graduation-cap"></i>
        教育背景
      </div>
      <table class="info-table">
        <tr>
          <td colspan="4">
            <div style="padding: 12px; background: #fafafa; border-radius: 4px; line-height: 1.6;">
              <p>1. XX大学 (2008-2012) - 计算机科学与技术 - 本科</p>
              <p>2. YY高中 (2005-2008)</p>
            </div>
          </td>
        </tr>
      </table>

      <!-- 个人绩效结果 -->
      <div class="section-title" style="margin-top: 30px;">
        <i class="fas fa-chart-line"></i>
        个人绩效结果
      </div>
      <table class="info-table">
        <tr>
          <th>考核周期</th>
          <td><span class="info-value">2024-Q4</span></td>
          <th>考核等级</th>
          <td><span class="info-value">A(优秀)</span></td>
        </tr>
      </table>
    </div>
  </div>
</div>

<script>
  // 页面加载完成后执行
  document.addEventListener('DOMContentLoaded', function() {
      // 自定义Logo上传功能
      const logoUpload = document.createElement('input');
      logoUpload.type = 'file';
      logoUpload.accept = 'image/*';
      logoUpload.style.display = 'none';
      document.body.appendChild(logoUpload);

      // 点击Logo可更换
      document.querySelector('.custom-logo').addEventListener('click', function() {
          logoUpload.click();
      });

      logoUpload.addEventListener('change', function(e) {
          const file = e.target.files[0];
          if (file) {
              const reader = new FileReader();
              reader.onload = function(event) {
                  document.querySelector('.custom-logo').src = event.target.result;
              }
              reader.readAsDataURL(file);
          }
      });
  });
</script>
</body>
</html>